.class public Lorg/apache/cordova/WqCordovaActivity;
.super Lorg/apache/cordova/CordovaActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/tencent/mm/sdk/openapi/IWXAPIEventHandler;


# static fields
.field public static final CALL_INPUT_METHOD:I = 0x1232

.field public static final CLOSE_INPUT_METHOD:I = 0x12321

.field public static final DATE_PICK:I = 0x1233

.field public static final DISTRICT_SELECT:I = 0x12341

.field public static final FILEDOWN_PROGRESS_UPDATE:I = 0x12340

.field public static final MENU_LIST:I = 0x1238

.field public static final OBSERVER_HELPER:I = 0x1231

.field public static final SEARCH_BAR:I = 0x1239

.field public static final SHARE_WEBVIEW_CAPTURE:I = 0x1234

.field public static final START_PROGRESS_DAILOG:I = 0x1235

.field public static final STOP_PROGRESS_DAILOG:I = 0x1236

.field private static final THUMB_SIZE:I = 0x64

.field public static final TOAST:I = 0x1237


# instance fields
.field private api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

.field public backBind:Z

.field private bmp:Landroid/graphics/Bitmap;

.field public bottomHorizontalLL:Landroid/widget/LinearLayout;

.field public bottomMenuHashList:Ljava/util/List;

.field public bottomVertaicalLL:Landroid/widget/LinearLayout;

.field public callbackContextClip:Lorg/apache/cordova/CallbackContext;

.field public callbackContextDateSelect:Lorg/apache/cordova/CallbackContext;

.field public callbackContextDistrictSelect:Lorg/apache/cordova/CallbackContext;

.field public callbackContextDownloadFile:Lorg/apache/cordova/CallbackContext;

.field public callbackContextMenu:Lorg/apache/cordova/CallbackContext;

.field public callbackContextSocial:Lorg/apache/cordova/CallbackContext;

.field public callbackRefresh:Lorg/apache/cordova/CallbackContext;

.field public callbackSearchMenu:Lorg/apache/cordova/CallbackContext;

.field private centerHelperIV:Landroid/widget/ImageView;

.field public clipHight:I

.field public clipWidth:I

.field public dateTimePicker:Lcom/waiqin365/lightapp/view/du;

.field public dateType:I

.field private districtPickerPopView:Lcom/waiqin365/lightapp/kehu/wheelview/a;

.field public downLoadMap:Ljava/util/HashMap;

.field public firstLinkImg:Landroid/widget/ImageView;

.field public img_back:Landroid/widget/ImageView;

.field public linkHashList:Ljava/util/List;

.field protected lv_group:Landroid/widget/ListView;

.field private mAnimPopupWindowL:Lcom/waiqin365/lightapp/view/ag;

.field private mContext:Landroid/content/Context;

.field public mHandler:Landroid/os/Handler;

.field private mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

.field public menuHashList:Ljava/util/List;

.field public myAlertDialog:Lcom/waiqin365/compons/view/c;

.field protected myProgressBar:Landroid/widget/ProgressBar;

.field private nnv:Lcom/waiqin365/lightapp/view/NoNetView;

.field private popSpinnerLV:Landroid/widget/ListView;

.field protected popupWindow:Landroid/widget/PopupWindow;

.field private progressDialog:Lcom/waiqin365/compons/view/a;

.field public rightImg:Landroid/widget/ImageView;

.field public rightTV:Landroid/widget/TextView;

.field private searchBackIV:Landroid/widget/ImageView;

.field private searchBottomLine:Landroid/view/View;

.field private searchBtn:Landroid/widget/Button;

.field private searchClearIV:Landroid/widget/ImageView;

.field private searchEditText:Landroid/widget/EditText;

.field public searchMidHorizontalView:Landroid/view/View;

.field private searchMyProgressBar:Landroid/widget/ProgressBar;

.field public searchOkHorizontalBtn:Landroid/widget/Button;

.field public searchOkVertaicalBtn:Landroid/widget/Button;

.field public searchOkVertaicalLL:Landroid/widget/LinearLayout;

.field public searchResetHorizontalBtn:Landroid/widget/Button;

.field public searchResetVertaicalBtn:Landroid/widget/Button;

.field public searchResetVertaicalLL:Landroid/widget/LinearLayout;

.field private searchTopbar:Landroid/view/View;

.field public secondLinkImg:Landroid/widget/ImageView;

.field public selectCenterLL:Landroid/widget/LinearLayout;

.field public selectTypeIV:Landroid/widget/ImageView;

.field public selectTypeTV:Landroid/widget/TextView;

.field public spinnerHashList:Ljava/util/List;

.field public spinnerList:Ljava/util/ArrayList;

.field private sysWebView:Lorg/apache/cordova/engine/SystemWebView;

.field public tempTV:Landroid/widget/TextView;

.field private title:Ljava/lang/String;

.field public titleBarHelper:Ljava/lang/String;

.field private titleBarProgressBar:Landroid/widget/ProgressBar;

.field public titleView:Landroid/widget/TextView;

.field public topbar:Landroid/view/View;

.field public transparent:I

.field public transparentLL:Landroid/widget/LinearLayout;

.field public urlParm:Ljava/lang/String;

.field private viewL:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 3

    const/4 v2, 0x0

    const/4 v1, 0x0

    invoke-direct {p0}, Lorg/apache/cordova/CordovaActivity;-><init>()V

    const-string/jumbo v0, ""

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->title:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->urlParm:Ljava/lang/String;

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextMenu:Lorg/apache/cordova/CallbackContext;

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackSearchMenu:Lorg/apache/cordova/CallbackContext;

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextSocial:Lorg/apache/cordova/CallbackContext;

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackRefresh:Lorg/apache/cordova/CallbackContext;

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextDateSelect:Lorg/apache/cordova/CallbackContext;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->spinnerList:Ljava/util/ArrayList;

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextDownloadFile:Lorg/apache/cordova/CallbackContext;

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextDistrictSelect:Lorg/apache/cordova/CallbackContext;

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextClip:Lorg/apache/cordova/CallbackContext;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->menuHashList:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->linkHashList:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->spinnerHashList:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->bottomMenuHashList:Ljava/util/List;

    iput-boolean v2, p0, Lorg/apache/cordova/WqCordovaActivity;->backBind:Z

    iput v2, p0, Lorg/apache/cordova/WqCordovaActivity;->dateType:I

    iput v2, p0, Lorg/apache/cordova/WqCordovaActivity;->transparent:I

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->downLoadMap:Ljava/util/HashMap;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarHelper:Ljava/lang/String;

    new-instance v0, Lorg/apache/cordova/WqCordovaActivity$1;

    invoke-direct {v0, p0}, Lorg/apache/cordova/WqCordovaActivity$1;-><init>(Lorg/apache/cordova/WqCordovaActivity;)V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mHandler:Landroid/os/Handler;

    const/16 v0, 0x12c

    iput v0, p0, Lorg/apache/cordova/WqCordovaActivity;->clipWidth:I

    const/16 v0, 0xc8

    iput v0, p0, Lorg/apache/cordova/WqCordovaActivity;->clipHight:I

    return-void
.end method

.method static synthetic access$000(Lorg/apache/cordova/WqCordovaActivity;)Lorg/apache/cordova/engine/SystemWebView;
    .locals 1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    return-object v0
.end method

.method static synthetic access$100(Lorg/apache/cordova/WqCordovaActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$1000(Lorg/apache/cordova/WqCordovaActivity;)Lcom/tencent/mm/sdk/openapi/IWXAPI;
    .locals 1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

    return-object v0
.end method

.method static synthetic access$1100(Lorg/apache/cordova/WqCordovaActivity;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->nnv:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method

.method static synthetic access$1200(Lorg/apache/cordova/WqCordovaActivity;)V
    .locals 0

    invoke-direct {p0}, Lorg/apache/cordova/WqCordovaActivity;->loadPage()V

    return-void
.end method

.method static synthetic access$200(Lorg/apache/cordova/WqCordovaActivity;Landroid/view/View;)V
    .locals 0

    invoke-direct {p0, p1}, Lorg/apache/cordova/WqCordovaActivity;->showMoreWindow(Landroid/view/View;)V

    return-void
.end method

.method static synthetic access$300(Lorg/apache/cordova/WqCordovaActivity;Landroid/view/View;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    invoke-direct/range {p0 .. p5}, Lorg/apache/cordova/WqCordovaActivity;->showMoreWindow(Landroid/view/View;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$400(Lorg/apache/cordova/WqCordovaActivity;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchEditText:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$500(Lorg/apache/cordova/WqCordovaActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->centerHelperIV:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$600(Lorg/apache/cordova/WqCordovaActivity;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lorg/apache/cordova/WqCordovaActivity;->initPopupwindow(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$700(Lorg/apache/cordova/WqCordovaActivity;)Lcom/waiqin365/lightapp/view/ag;
    .locals 1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mAnimPopupWindowL:Lcom/waiqin365/lightapp/view/ag;

    return-object v0
.end method

.method static synthetic access$800(Lorg/apache/cordova/WqCordovaActivity;Landroid/view/View;)V
    .locals 0

    invoke-direct {p0, p1}, Lorg/apache/cordova/WqCordovaActivity;->showAddWindow(Landroid/view/View;)V

    return-void
.end method

.method static synthetic access$900(Lorg/apache/cordova/WqCordovaActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchClearIV:Landroid/widget/ImageView;

    return-object v0
.end method

.method private getIntentInit()V
    .locals 5

    const/16 v4, 0x8

    const/4 v3, 0x0

    invoke-direct {p0}, Lorg/apache/cordova/WqCordovaActivity;->initView()V

    invoke-virtual {p0}, Lorg/apache/cordova/WqCordovaActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "url"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->urlParm:Ljava/lang/String;

    const-string/jumbo v1, "onCreate"

    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->urlParm:Ljava/lang/String;

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->title:Ljava/lang/String;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->title:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->titleView:Landroid/widget/TextView;

    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->title:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    const-string/jumbo v1, "titleType"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_3

    const-string/jumbo v2, "searchBar"

    invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->searchTopbar:Landroid/view/View;

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    invoke-virtual {v1, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->searchMyProgressBar:Landroid/widget/ProgressBar;

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->myProgressBar:Landroid/widget/ProgressBar;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->myProgressBar:Landroid/widget/ProgressBar;

    invoke-virtual {v1, v2}, Lorg/apache/cordova/engine/SystemWebView;->setMyProgressBar(Landroid/widget/ProgressBar;)V

    invoke-virtual {p0}, Lorg/apache/cordova/WqCordovaActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "hint"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1

    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->searchEditText:Landroid/widget/EditText;

    invoke-virtual {v2, v1}, Landroid/widget/EditText;->setHint(Ljava/lang/CharSequence;)V

    :cond_1
    :goto_0
    const-string/jumbo v1, "transparent"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_4

    :try_start_0
    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lorg/apache/cordova/WqCordovaActivity;->transparent:I
    :try_end_0
    .catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_1
    iget v0, p0, Lorg/apache/cordova/WqCordovaActivity;->transparent:I

    if-eqz v0, :cond_2

    sget v0, Lcom/fiberhome/gaea/client/c/b;->g:I

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->transparentLL:Landroid/widget/LinearLayout;

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    div-int/lit8 v0, v0, 0x64

    iget v3, p0, Lorg/apache/cordova/WqCordovaActivity;->transparent:I

    mul-int/2addr v0, v3

    const/4 v3, -0x1

    invoke-direct {v2, v0, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    :cond_2
    return-void

    :cond_3
    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->searchTopbar:Landroid/view/View;

    invoke-virtual {v1, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    invoke-virtual {v1, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarProgressBar:Landroid/widget/ProgressBar;

    iput-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->myProgressBar:Landroid/widget/ProgressBar;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->myProgressBar:Landroid/widget/ProgressBar;

    invoke-virtual {v1, v2}, Lorg/apache/cordova/engine/SystemWebView;->setMyProgressBar(Landroid/widget/ProgressBar;)V

    goto :goto_0

    :catch_0
    move-exception v0

    iput v3, p0, Lorg/apache/cordova/WqCordovaActivity;->transparent:I

    goto :goto_1

    :cond_4
    iput v3, p0, Lorg/apache/cordova/WqCordovaActivity;->transparent:I

    goto :goto_1
.end method

.method private initPopupwindow(Ljava/lang/String;)V
    .locals 6

    const/4 v3, -0x1

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f0301b4

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->viewL:Landroid/view/View;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->viewL:Landroid/view/View;

    const v1, 0x7f0c0950

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->popSpinnerLV:Landroid/widget/ListView;

    new-instance v0, Lcom/waiqin365/lightapp/order/a/f;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->spinnerList:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/order/a/f;-><init>(Landroid/content/Context;Ljava/util/List;)V

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/order/a/f;->a(Ljava/lang/String;)V

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->popSpinnerLV:Landroid/widget/ListView;

    invoke-virtual {v1, v0}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->popSpinnerLV:Landroid/widget/ListView;

    new-instance v1, Lorg/apache/cordova/WqCordovaActivity$7;

    invoke-direct {v1, p0}, Lorg/apache/cordova/WqCordovaActivity$7;-><init>(Lorg/apache/cordova/WqCordovaActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    new-instance v0, Lcom/waiqin365/lightapp/view/ag;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->viewL:Landroid/view/View;

    sget-object v5, Lcom/waiqin365/lightapp/view/ak;->b:Lcom/waiqin365/lightapp/view/ak;

    move v4, v3

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/view/ag;-><init>(Landroid/content/Context;Landroid/view/View;IILcom/waiqin365/lightapp/view/ak;)V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mAnimPopupWindowL:Lcom/waiqin365/lightapp/view/ag;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mAnimPopupWindowL:Lcom/waiqin365/lightapp/view/ag;

    new-instance v1, Lorg/apache/cordova/WqCordovaActivity$8;

    invoke-direct {v1, p0}, Lorg/apache/cordova/WqCordovaActivity$8;-><init>(Lorg/apache/cordova/WqCordovaActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ag;->a(Lcom/waiqin365/lightapp/view/an;)V

    return-void
.end method

.method private initView()V
    .locals 5

    const v4, 0x7f0c0ef5

    const v0, 0x7f0c0eda

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0ee8

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->img_back:Landroid/widget/ImageView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0ee9

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->titleView:Landroid/widget/TextView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0eea

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->centerHelperIV:Landroid/widget/ImageView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->centerHelperIV:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0eee

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->rightImg:Landroid/widget/ImageView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0eef

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->rightTV:Landroid/widget/TextView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0ef0

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->tempTV:Landroid/widget/TextView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0ef1

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->firstLinkImg:Landroid/widget/ImageView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0ef2

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->secondLinkImg:Landroid/widget/ImageView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0eeb

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->selectCenterLL:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0eec

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->selectTypeTV:Landroid/widget/TextView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->topbar:Landroid/view/View;

    const v1, 0x7f0c0eed

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->selectTypeIV:Landroid/widget/ImageView;

    const v0, 0x7f0c0edc

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lorg/apache/cordova/engine/SystemWebView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    new-instance v0, Lorg/apache/cordova/CordovaWebViewImpl;

    new-instance v1, Lorg/apache/cordova/engine/SystemWebViewEngine;

    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    invoke-direct {v1, v2}, Lorg/apache/cordova/engine/SystemWebViewEngine;-><init>(Lorg/apache/cordova/engine/SystemWebView;)V

    invoke-direct {v0, v1}, Lorg/apache/cordova/CordovaWebViewImpl;-><init>(Lorg/apache/cordova/CordovaWebViewEngine;)V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->appView:Lorg/apache/cordova/CordovaWebView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->appView:Lorg/apache/cordova/CordovaWebView;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->cordovaInterface:Lorg/apache/cordova/CordovaInterfaceImpl;

    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->pluginEntries:Ljava/util/ArrayList;

    iget-object v3, p0, Lorg/apache/cordova/WqCordovaActivity;->preferences:Lorg/apache/cordova/CordovaPreferences;

    invoke-interface {v0, v1, v2, v3}, Lorg/apache/cordova/CordovaWebView;->init(Lorg/apache/cordova/CordovaInterface;Ljava/util/List;Lorg/apache/cordova/CordovaPreferences;)V

    invoke-virtual {p0, v4}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->myProgressBar:Landroid/widget/ProgressBar;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->img_back:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0ed8

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->transparentLL:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0edd

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->bottomHorizontalLL:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0ee1

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->bottomVertaicalLL:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0ee2

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchResetVertaicalLL:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0ee4

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchOkVertaicalLL:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0ede

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchResetHorizontalBtn:Landroid/widget/Button;

    const v0, 0x7f0c0ee0

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchOkHorizontalBtn:Landroid/widget/Button;

    const v0, 0x7f0c0ee3

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchResetVertaicalBtn:Landroid/widget/Button;

    const v0, 0x7f0c0ee5

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchOkVertaicalBtn:Landroid/widget/Button;

    const v0, 0x7f0c0edf

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchMidHorizontalView:Landroid/view/View;

    const v0, 0x7f0c0ee6

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->nnv:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->nnv:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/NoNetView;->setImageHide()V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->transparentLL:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0edb

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchTopbar:Landroid/view/View;

    const v0, 0x7f0c0efe

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchBackIV:Landroid/widget/ImageView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchBackIV:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0eff

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchEditText:Landroid/widget/EditText;

    const v0, 0x7f0c0f00

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchBtn:Landroid/widget/Button;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchBtn:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0f01

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchClearIV:Landroid/widget/ImageView;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchClearIV:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0f03

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchBottomLine:Landroid/view/View;

    invoke-virtual {p0, v4}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarProgressBar:Landroid/widget/ProgressBar;

    const v0, 0x7f0c0f04

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchMyProgressBar:Landroid/widget/ProgressBar;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchEditText:Landroid/widget/EditText;

    new-instance v1, Lorg/apache/cordova/WqCordovaActivity$2;

    invoke-direct {v1, p0}, Lorg/apache/cordova/WqCordovaActivity$2;-><init>(Lorg/apache/cordova/WqCordovaActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setOnEditorActionListener(Landroid/widget/TextView$OnEditorActionListener;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchEditText:Landroid/widget/EditText;

    new-instance v1, Lorg/apache/cordova/WqCordovaActivity$3;

    invoke-direct {v1, p0}, Lorg/apache/cordova/WqCordovaActivity$3;-><init>(Lorg/apache/cordova/WqCordovaActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    return-void
.end method

.method private loadPage()V
    .locals 5

    const/4 v4, 0x1

    const/4 v3, 0x0

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    invoke-virtual {v0}, Lorg/apache/cordova/engine/SystemWebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v0

    invoke-virtual {v0}, Landroid/webkit/WebSettings;->getUserAgentString()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "WqAppVersion"

    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_0

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, " WqAppVersion/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/fiberhome/gaea/client/c/b;->r()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, " WqAc/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    invoke-virtual {v2, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setUserAgentString(Ljava/lang/String;)V

    :cond_0
    invoke-virtual {v0, v3}, Landroid/webkit/WebSettings;->setSupportZoom(Z)V

    invoke-virtual {v0, v3}, Landroid/webkit/WebSettings;->setDisplayZoomControls(Z)V

    invoke-virtual {v0, v3}, Landroid/webkit/WebSettings;->setBuiltInZoomControls(Z)V

    invoke-virtual {v0, v3}, Landroid/webkit/WebSettings;->setDisplayZoomControls(Z)V

    invoke-virtual {v0, v4}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V

    invoke-virtual {v0, v4}, Landroid/webkit/WebSettings;->setAllowFileAccess(Z)V

    invoke-virtual {v0, v4}, Landroid/webkit/WebSettings;->setDomStorageEnabled(Z)V

    invoke-virtual {v0, v4}, Landroid/webkit/WebSettings;->setUseWideViewPort(Z)V

    const-string/jumbo v1, "utf-8"

    invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setDefaultTextEncodingName(Ljava/lang/String;)V

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "auth-code"

    invoke-virtual {v0, v2, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->urlParm:Ljava/lang/String;

    invoke-virtual {p0, v1}, Lorg/apache/cordova/WqCordovaActivity;->synCookies(Ljava/lang/String;)V

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->urlParm:Ljava/lang/String;

    invoke-virtual {p0, v1, v0}, Lorg/apache/cordova/WqCordovaActivity;->loadUrl(Ljava/lang/String;Ljava/util/HashMap;)V

    return-void
.end method

.method private showAddWindow(Landroid/view/View;)V
    .locals 5

    const/4 v4, 0x1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->popupWindow:Landroid/widget/PopupWindow;

    if-nez v0, :cond_0

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mContext:Landroid/content/Context;

    const-string/jumbo v1, "layout_inflater"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f030032

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c0191

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->lv_group:Landroid/widget/ListView;

    new-instance v0, Landroid/widget/PopupWindow;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/fiberhome/gaea/client/c/b;->i()I

    move-result v2

    div-int/lit8 v2, v2, 0x5

    mul-int/lit8 v2, v2, 0x2

    const/4 v3, -0x2

    invoke-direct {v0, v1, v2, v3}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->popupWindow:Landroid/widget/PopupWindow;

    :cond_0
    new-instance v0, Lorg/apache/cordova/WqCordovaActivity$MenuPopupAdapter;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, p0, v1}, Lorg/apache/cordova/WqCordovaActivity$MenuPopupAdapter;-><init>(Lorg/apache/cordova/WqCordovaActivity;Landroid/content/Context;)V

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->lv_group:Landroid/widget/ListView;

    invoke-virtual {v1, v0}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->popupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v4}, Landroid/widget/PopupWindow;->setFocusable(Z)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->popupWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v4}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->popupWindow:Landroid/widget/PopupWindow;

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>()V

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->popupWindow:Landroid/widget/PopupWindow;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f090037

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimension(I)F

    move-result v1

    float-to-int v1, v1

    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f090038

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimension(I)F

    move-result v2

    float-to-int v2, v2

    invoke-virtual {v0, p1, v1, v2}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;II)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->lv_group:Landroid/widget/ListView;

    new-instance v1, Lorg/apache/cordova/WqCordovaActivity$4;

    invoke-direct {v1, p0}, Lorg/apache/cordova/WqCordovaActivity$4;-><init>(Lorg/apache/cordova/WqCordovaActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->lv_group:Landroid/widget/ListView;

    new-instance v1, Lorg/apache/cordova/WqCordovaActivity$5;

    invoke-direct {v1, p0}, Lorg/apache/cordova/WqCordovaActivity$5;-><init>(Lorg/apache/cordova/WqCordovaActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    return-void
.end method

.method private showMoreWindow(Landroid/view/View;)V
    .locals 2

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/cockpit/a/c;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/cockpit/a/c;-><init>(Landroid/app/Activity;)V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/cockpit/a/c;->a()V

    :cond_0
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    const/16 v1, 0x64

    invoke-virtual {v0, p1, v1}, Lcom/waiqin365/lightapp/cockpit/a/c;->a(Landroid/view/View;I)V

    return-void
.end method

.method private showMoreWindow(Landroid/view/View;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/cockpit/a/c;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/cockpit/a/c;-><init>(Landroid/app/Activity;)V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/cockpit/a/c;->a()V

    :cond_0
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    invoke-virtual {v0, p2}, Lcom/waiqin365/lightapp/cockpit/a/c;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    invoke-virtual {v0, p3}, Lcom/waiqin365/lightapp/cockpit/a/c;->c(Ljava/lang/String;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    invoke-virtual {v0, p4}, Lcom/waiqin365/lightapp/cockpit/a/c;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    invoke-virtual {v0, p5}, Lcom/waiqin365/lightapp/cockpit/a/c;->d(Ljava/lang/String;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->mMoreWindow:Lcom/waiqin365/lightapp/cockpit/a/c;

    const/16 v1, 0x64

    invoke-virtual {v0, p1, v1}, Lcom/waiqin365/lightapp/cockpit/a/c;->a(Landroid/view/View;I)V

    return-void
.end method


# virtual methods
.method public dismissProgressDialog()V
    .locals 1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V

    const/4 v0, 0x0

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    :cond_0
    return-void
.end method

.method public displayError(I)V
    .locals 1

    new-instance v0, Lorg/apache/cordova/WqCordovaActivity$9;

    invoke-direct {v0, p0, p1}, Lorg/apache/cordova/WqCordovaActivity$9;-><init>(Lorg/apache/cordova/WqCordovaActivity;I)V

    invoke-virtual {p0, v0}, Lorg/apache/cordova/CordovaActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    return-void
.end method

.method public getRealPathFromURI(Landroid/net/Uri;)Ljava/lang/String;
    .locals 6

    const/4 v3, 0x0

    const/4 v0, 0x1

    new-array v2, v0, [Ljava/lang/String;

    const/4 v0, 0x0

    const-string/jumbo v1, "_data"

    aput-object v1, v2, v0

    move-object v0, p0

    move-object v1, p1

    move-object v4, v3

    move-object v5, v3

    invoke-virtual/range {v0 .. v5}, Lorg/apache/cordova/WqCordovaActivity;->managedQuery(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    const-string/jumbo v1, "_data"

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v1

    invoke-interface {v0}, Landroid/database/Cursor;->moveToFirst()Z

    invoke-interface {v0, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getThreadPool()Ljava/util/concurrent/ExecutorService;
    .locals 1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->cordovaInterface:Lorg/apache/cordova/CordovaInterfaceImpl;

    invoke-virtual {v0}, Lorg/apache/cordova/CordovaInterfaceImpl;->getThreadPool()Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    return-object v0
.end method

.method public initAreaSelectPop(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->districtPickerPopView:Lcom/waiqin365/lightapp/kehu/wheelview/a;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/wheelview/a;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/kehu/wheelview/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->districtPickerPopView:Lcom/waiqin365/lightapp/kehu/wheelview/a;

    :cond_0
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->districtPickerPopView:Lcom/waiqin365/lightapp/kehu/wheelview/a;

    invoke-virtual {v0, p2}, Lcom/waiqin365/lightapp/kehu/wheelview/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->districtPickerPopView:Lcom/waiqin365/lightapp/kehu/wheelview/a;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/kehu/wheelview/a;->c(Ljava/lang/String;)V

    const-string/jumbo v0, "4"

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->districtPickerPopView:Lcom/waiqin365/lightapp/kehu/wheelview/a;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/wheelview/a;->b(Z)V

    :goto_0
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->districtPickerPopView:Lcom/waiqin365/lightapp/kehu/wheelview/a;

    new-instance v1, Lorg/apache/cordova/WqCordovaActivity$10;

    invoke-direct {v1, p0}, Lorg/apache/cordova/WqCordovaActivity$10;-><init>(Lorg/apache/cordova/WqCordovaActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/wheelview/a;->a(Lcom/waiqin365/lightapp/kehu/wheelview/d;)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->districtPickerPopView:Lcom/waiqin365/lightapp/kehu/wheelview/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/wheelview/a;->a()V

    return-void

    :cond_1
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->districtPickerPopView:Lcom/waiqin365/lightapp/kehu/wheelview/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/wheelview/a;->b(Z)V

    goto :goto_0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 5

    const/4 v0, -0x1

    if-eq p2, v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    sparse-switch p1, :sswitch_data_0

    goto :goto_0

    :sswitch_0
    :try_start_0
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackRefresh:Lorg/apache/cordova/CallbackContext;

    if-eqz v0, :cond_0

    if-eqz p3, :cond_0

    const-string/jumbo v0, "CORDOVA_ACTIVITY_FINISH"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackRefresh:Lorg/apache/cordova/CallbackContext;

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "flag"

    const/4 v4, 0x1

    invoke-virtual {v2, v3, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    move-result-object v2

    const-string/jumbo v3, "data"

    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {v1, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_0

    :sswitch_1
    :try_start_1
    sget-object v0, Lorg/apache/cordova/util/ImageCutUtils;->imageUriFromCamera:Landroid/net/Uri;

    if-eqz v0, :cond_0

    sget-object v0, Lorg/apache/cordova/util/ImageCutUtils;->imageUriFromCamera:Landroid/net/Uri;

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getRealPathFromURI(Landroid/net/Uri;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Landroid/graphics/BitmapFactory$Options;

    invoke-direct {v1}, Landroid/graphics/BitmapFactory$Options;-><init>()V

    new-instance v2, Ljava/io/ByteArrayOutputStream;

    invoke-direct {v2}, Ljava/io/ByteArrayOutputStream;-><init>()V

    invoke-static {v0, v1}, Landroid/graphics/BitmapFactory;->decodeFile(Ljava/lang/String;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;

    move-result-object v0

    sget-object v1, Landroid/graphics/Bitmap$CompressFormat;->JPEG:Landroid/graphics/Bitmap$CompressFormat;

    const/16 v3, 0x64

    invoke-virtual {v0, v1, v3, v2}, Landroid/graphics/Bitmap;->compress(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z

    sget-object v0, Lorg/apache/cordova/util/ImageCutUtils;->imageUriFromCamera:Landroid/net/Uri;

    iget v1, p0, Lorg/apache/cordova/WqCordovaActivity;->clipWidth:I

    iget v2, p0, Lorg/apache/cordova/WqCordovaActivity;->clipHight:I

    invoke-static {p0, v0, v1, v2}, Lorg/apache/cordova/util/ImageCutUtils;->cropImage(Landroid/app/Activity;Landroid/net/Uri;II)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_0

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    :sswitch_2
    if-eqz p3, :cond_0

    :try_start_2
    invoke-virtual {p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p3}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object v0

    iget v1, p0, Lorg/apache/cordova/WqCordovaActivity;->clipWidth:I

    iget v2, p0, Lorg/apache/cordova/WqCordovaActivity;->clipHight:I

    invoke-static {p0, v0, v1, v2}, Lorg/apache/cordova/util/ImageCutUtils;->cropImage(Landroid/app/Activity;Landroid/net/Uri;II)V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2

    goto :goto_0

    :catch_2
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    :sswitch_3
    sget-object v0, Lorg/apache/cordova/util/ImageCutUtils;->cropImageUri:Landroid/net/Uri;

    if-eqz v0, :cond_0

    :try_start_3
    sget-object v0, Lorg/apache/cordova/util/ImageCutUtils;->cropImageUri:Landroid/net/Uri;

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getRealPathFromURI(Landroid/net/Uri;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextClip:Lorg/apache/cordova/CallbackContext;

    if-eqz v1, :cond_0

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->exists()Z
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_4

    move-result v2

    if-eqz v2, :cond_0

    :try_start_4
    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "src"

    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v3, "name"

    invoke-virtual {v1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v3, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "id"

    const/4 v3, -0x1

    invoke-virtual {v2, v1, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    const-string/jumbo v1, "path"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "data:image/png;base64,"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-static {v0}, Lcom/waiqin365/h5/photo/WqGetPhoto;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextClip:Lorg/apache/cordova/CallbackContext;

    invoke-virtual {v0, v2}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_3

    goto/16 :goto_0

    :catch_3
    move-exception v0

    :try_start_5
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_4

    goto/16 :goto_0

    :catch_4
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x789 -> :sswitch_0
        0x1389 -> :sswitch_1
        0x138a -> :sswitch_2
        0x138b -> :sswitch_3
    .end sparse-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 5

    const v2, 0x7f040023

    const v1, 0x7f040020

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    iget-boolean v0, p0, Lorg/apache/cordova/WqCordovaActivity;->backBind:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextMenu:Lorg/apache/cordova/CallbackContext;

    if-eqz v0, :cond_0

    :try_start_0
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextMenu:Lorg/apache/cordova/CallbackContext;

    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "position"

    const/4 v3, -0x1

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    move-result-object v1

    invoke-virtual {v0, v1}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_0

    :cond_1
    invoke-virtual {p0}, Lorg/apache/cordova/WqCordovaActivity;->finish()V

    invoke-virtual {p0, v1, v2}, Lorg/apache/cordova/WqCordovaActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_1
    invoke-virtual {p0}, Lorg/apache/cordova/WqCordovaActivity;->finish()V

    invoke-virtual {p0, v1, v2}, Lorg/apache/cordova/WqCordovaActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarHelper:Ljava/lang/String;

    const-string/jumbo v1, "http://"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarHelper:Ljava/lang/String;

    const-string/jumbo v1, "https://"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    :cond_2
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarHelper:Ljava/lang/String;

    const-string/jumbo v1, "?"

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_3

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarHelper:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "&t="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    new-instance v1, Ljava/util/Date;

    invoke-direct {v1}, Ljava/util/Date;-><init>()V

    invoke-virtual {v1}, Ljava/util/Date;->getTime()J

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_1
    const v1, 0x7f08081e

    invoke-virtual {p0, v1}, Lorg/apache/cordova/WqCordovaActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {p0, v1, v0}, Lcom/waiqin365/base/login/fragment/a;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_3
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarHelper:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "?t="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    new-instance v1, Ljava/util/Date;

    invoke-direct {v1}, Ljava/util/Date;-><init>()V

    invoke-virtual {v1}, Ljava/util/Date;->getTime()J

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    :cond_4
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarHelper:Ljava/lang/String;

    const-string/jumbo v1, "?"

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_5

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarHelper:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "&t="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    new-instance v1, Ljava/util/Date;

    invoke-direct {v1}, Ljava/util/Date;-><init>()V

    invoke-virtual {v1}, Ljava/util/Date;->getTime()J

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_1

    :cond_5
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->d()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->titleBarHelper:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "?t="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    new-instance v1, Ljava/util/Date;

    invoke-direct {v1}, Ljava/util/Date;-><init>()V

    invoke-virtual {v1}, Ljava/util/Date;->getTime()J

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1

    :sswitch_3
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->searchEditText:Landroid/widget/EditText;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :sswitch_4
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->bottomMenuHashList:Ljava/util/List;

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextMenu:Lorg/apache/cordova/CallbackContext;

    if-eqz v1, :cond_0

    :try_start_1
    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextMenu:Lorg/apache/cordova/CallbackContext;

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "position"

    const-string/jumbo v4, "id"

    invoke-interface {v0, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {v1, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_1

    goto/16 :goto_0

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto/16 :goto_0

    :sswitch_5
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->bottomMenuHashList:Ljava/util/List;

    const/4 v1, 0x1

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextMenu:Lorg/apache/cordova/CallbackContext;

    if-eqz v1, :cond_0

    :try_start_2
    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextMenu:Lorg/apache/cordova/CallbackContext;

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v3, "position"

    const-string/jumbo v4, "id"

    invoke-interface {v0, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v2, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {v1, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V
    :try_end_2
    .catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_2

    goto/16 :goto_0

    :catch_2
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0ed8 -> :sswitch_0
        0x7f0c0ede -> :sswitch_5
        0x7f0c0ee0 -> :sswitch_4
        0x7f0c0ee3 -> :sswitch_5
        0x7f0c0ee5 -> :sswitch_4
        0x7f0c0ee8 -> :sswitch_0
        0x7f0c0eea -> :sswitch_2
        0x7f0c0efe -> :sswitch_0
        0x7f0c0f00 -> :sswitch_1
        0x7f0c0f01 -> :sswitch_3
    .end sparse-switch
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 6

    const v5, 0x7f0808b8

    const/4 v4, 0x0

    invoke-super {p0, p1}, Lorg/apache/cordova/CordovaActivity;->onCreate(Landroid/os/Bundle;)V

    const-string/jumbo v0, "onCreate"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    new-instance v2, Ljava/util/Date;

    invoke-direct {v2}, Ljava/util/Date;-><init>()V

    invoke-virtual {v2}, Ljava/util/Date;->getTime()J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0302df

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->setContentView(I)V

    iput-object p0, p0, Lorg/apache/cordova/WqCordovaActivity;->mContext:Landroid/content/Context;

    invoke-virtual {p0, v5}, Lorg/apache/cordova/WqCordovaActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/tencent/mm/sdk/openapi/WXAPIFactory;->createWXAPI(Landroid/content/Context;Ljava/lang/String;Z)Lcom/tencent/mm/sdk/openapi/IWXAPI;

    move-result-object v0

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

    invoke-virtual {p0, v5}, Lorg/apache/cordova/WqCordovaActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Lcom/tencent/mm/sdk/openapi/IWXAPI;->registerApp(Ljava/lang/String;)Z

    invoke-direct {p0}, Lorg/apache/cordova/WqCordovaActivity;->getIntentInit()V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    invoke-virtual {v0, v4}, Lorg/apache/cordova/engine/SystemWebView;->setHorizontalScrollBarEnabled(Z)V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    invoke-virtual {v0, v4}, Lorg/apache/cordova/engine/SystemWebView;->setVerticalScrollBarEnabled(Z)V

    const-string/jumbo v0, "onCreate"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    new-instance v2, Ljava/util/Date;

    invoke-direct {v2}, Ljava/util/Date;-><init>()V

    invoke-virtual {v2}, Ljava/util/Date;->getTime()J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    invoke-direct {p0}, Lorg/apache/cordova/WqCordovaActivity;->loadPage()V

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

    invoke-virtual {p0}, Lorg/apache/cordova/WqCordovaActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    invoke-interface {v0, v1, p0}, Lcom/tencent/mm/sdk/openapi/IWXAPI;->handleIntent(Landroid/content/Intent;Lcom/tencent/mm/sdk/openapi/IWXAPIEventHandler;)Z

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 4

    sget-object v0, Lorg/apache/cordova/WqCordovaActivity;->TAG:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "keycode == > "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    const/4 v0, 0x4

    if-ne p1, v0, :cond_1

    sget-object v0, Lorg/apache/cordova/WqCordovaActivity;->TAG:Ljava/lang/String;

    const-string/jumbo v1, "KeyEvent.KEYCODE_BACK "

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    iget-boolean v0, p0, Lorg/apache/cordova/WqCordovaActivity;->backBind:Z

    if-eqz v0, :cond_0

    sget-object v0, Lorg/apache/cordova/WqCordovaActivity;->TAG:Ljava/lang/String;

    const-string/jumbo v1, "backBind == > true"

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    :try_start_0
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextMenu:Lorg/apache/cordova/CallbackContext;

    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v2, "position"

    const/4 v3, -0x1

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    move-result-object v1

    invoke-virtual {v0, v1}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    const/4 v0, 0x1

    :goto_1
    return v0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_0

    :cond_0
    sget-object v0, Lorg/apache/cordova/WqCordovaActivity;->TAG:Ljava/lang/String;

    const-string/jumbo v1, "backBind == > false"

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    invoke-super {p0, p1, p2}, Lorg/apache/cordova/CordovaActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_1

    :cond_1
    sget-object v0, Lorg/apache/cordova/WqCordovaActivity;->TAG:Ljava/lang/String;

    const-string/jumbo v1, "backBind == > KeyEvent.XXX"

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    invoke-super {p0, p1, p2}, Lorg/apache/cordova/CordovaActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_1
.end method

.method protected onPause()V
    .locals 3

    invoke-super {p0}, Lorg/apache/cordova/CordovaActivity;->onPause()V

    const-string/jumbo v0, "input_method"

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    invoke-virtual {v0}, Landroid/view/inputmethod/InputMethodManager;->isActive()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    invoke-virtual {v1}, Lorg/apache/cordova/engine/SystemWebView;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    :cond_0
    return-void
.end method

.method public onReq(Lcom/tencent/mm/sdk/openapi/BaseReq;)V
    .locals 0

    return-void
.end method

.method public onResp(Lcom/tencent/mm/sdk/openapi/BaseResp;)V
    .locals 5

    const-string/jumbo v0, "0"

    const-string/jumbo v0, ""

    iget v0, p1, Lcom/tencent/mm/sdk/openapi/BaseResp;->errCode:I

    packed-switch v0, :pswitch_data_0

    :pswitch_0
    const v0, 0x7f08080b

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "0"

    :goto_0
    :try_start_0
    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextSocial:Lorg/apache/cordova/CallbackContext;

    if-eqz v2, :cond_0

    iget-object v2, p0, Lorg/apache/cordova/WqCordovaActivity;->callbackContextSocial:Lorg/apache/cordova/CallbackContext;

    new-instance v3, Lorg/json/JSONObject;

    invoke-direct {v3}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v4, "result"

    invoke-virtual {v3, v4, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v1

    const-string/jumbo v3, "message"

    invoke-virtual {v1, v3, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {v2, v0}, Lorg/apache/cordova/CallbackContext;->success(Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_1
    return-void

    :pswitch_1
    const-string/jumbo v1, "1"

    const v0, 0x7f080767

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :pswitch_2
    const-string/jumbo v1, "0"

    const v0, 0x7f08075a

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :pswitch_3
    const-string/jumbo v1, "0"

    const v0, 0x7f08075f

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_1

    :pswitch_data_0
    .packed-switch -0x4
        :pswitch_3
        :pswitch_0
        :pswitch_2
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public onSpinner()V
    .locals 2

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->myProgressBar:Landroid/widget/ProgressBar;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->myProgressBar:Landroid/widget/ProgressBar;

    invoke-virtual {v0}, Landroid/widget/ProgressBar;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->myProgressBar:Landroid/widget/ProgressBar;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method public share2weixin(I)V
    .locals 6

    const/4 v5, 0x1

    const/4 v1, 0x0

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

    invoke-interface {v0}, Lcom/tencent/mm/sdk/openapi/IWXAPI;->isWXAppInstalled()Z

    move-result v0

    if-nez v0, :cond_0

    const v0, 0x7f08075c

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    invoke-static {v0}, Lorg/apache/cordova/util/Util;->captureWebView(Landroid/webkit/WebView;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->bmp:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->bmp:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_1

    new-instance v0, Lcom/tencent/mm/sdk/openapi/WXImageObject;

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->bmp:Landroid/graphics/Bitmap;

    invoke-direct {v0, v1}, Lcom/tencent/mm/sdk/openapi/WXImageObject;-><init>(Landroid/graphics/Bitmap;)V

    new-instance v1, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;

    invoke-direct {v1}, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;-><init>()V

    iput-object v0, v1, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->mediaObject:Lcom/tencent/mm/sdk/openapi/WXMediaMessage$IMediaObject;

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->bmp:Landroid/graphics/Bitmap;

    const/16 v2, 0x64

    sget v3, Lcom/fiberhome/gaea/client/c/b;->h:I

    mul-int/lit8 v3, v3, 0x64

    sget v4, Lcom/fiberhome/gaea/client/c/b;->g:I

    div-int/2addr v3, v4

    invoke-static {v0, v2, v3, v5}, Landroid/graphics/Bitmap;->createScaledBitmap(Landroid/graphics/Bitmap;IIZ)Landroid/graphics/Bitmap;

    move-result-object v0

    invoke-static {v0, v5}, Lorg/apache/cordova/util/Util;->bmpToByteArray(Landroid/graphics/Bitmap;Z)[B

    move-result-object v0

    iput-object v0, v1, Lcom/tencent/mm/sdk/openapi/WXMediaMessage;->thumbData:[B

    new-instance v0, Lcom/tencent/mm/sdk/openapi/SendMessageToWX$Req;

    invoke-direct {v0}, Lcom/tencent/mm/sdk/openapi/SendMessageToWX$Req;-><init>()V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "img"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v0, Lcom/tencent/mm/sdk/openapi/SendMessageToWX$Req;->transaction:Ljava/lang/String;

    iput-object v1, v0, Lcom/tencent/mm/sdk/openapi/SendMessageToWX$Req;->message:Lcom/tencent/mm/sdk/openapi/WXMediaMessage;

    iput p1, v0, Lcom/tencent/mm/sdk/openapi/SendMessageToWX$Req;->scene:I

    iget-object v1, p0, Lorg/apache/cordova/WqCordovaActivity;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

    invoke-interface {v1, v0}, Lcom/tencent/mm/sdk/openapi/IWXAPI;->sendReq(Lcom/tencent/mm/sdk/openapi/BaseReq;)Z

    goto :goto_0

    :cond_1
    const v0, 0x7f08075d

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v1}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method

.method public share2weixinUrl(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 7

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

    invoke-interface {v0}, Lcom/tencent/mm/sdk/openapi/IWXAPI;->isWXAppInstalled()Z

    move-result v0

    if-nez v0, :cond_0

    const v0, 0x7f08075c

    invoke-virtual {p0, v0}, Lorg/apache/cordova/WqCordovaActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-static {p0, v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Lorg/apache/cordova/WqCordovaActivity$6;

    move-object v1, p0

    move-object v2, p2

    move-object v3, p3

    move-object v4, p4

    move-object v5, p5

    move v6, p1

    invoke-direct/range {v0 .. v6}, Lorg/apache/cordova/WqCordovaActivity$6;-><init>(Lorg/apache/cordova/WqCordovaActivity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    invoke-virtual {v0}, Lorg/apache/cordova/WqCordovaActivity$6;->start()V

    goto :goto_0
.end method

.method public showProgressDialog(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/view/a;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/view/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    :cond_0
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0, p1}, Lcom/waiqin365/compons/view/a;->a(Ljava/lang/String;)V

    :cond_1
    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->progressDialog:Lcom/waiqin365/compons/view/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Z)V

    return-void
.end method

.method public synCookies(Ljava/lang/String;)V
    .locals 6

    iget-object v0, p0, Lorg/apache/cordova/WqCordovaActivity;->sysWebView:Lorg/apache/cordova/engine/SystemWebView;

    invoke-virtual {v0}, Lorg/apache/cordova/engine/SystemWebView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/webkit/CookieSyncManager;->createInstance(Landroid/content/Context;)Landroid/webkit/CookieSyncManager;

    move-result-object v2

    invoke-static {}, Landroid/webkit/CookieManager;->getInstance()Landroid/webkit/CookieManager;

    move-result-object v3

    const/4 v0, 0x1

    invoke-virtual {v3, v0}, Landroid/webkit/CookieManager;->setAcceptCookie(Z)V

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v0

    iget-object v0, v0, Lcom/fiberhome/gaea/client/c/b;->f:Ljava/lang/String;

    const/16 v1, 0x3b

    invoke-static {v0, v1, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v5, ";Path=/"

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, p1, v0}, Landroid/webkit/CookieManager;->setCookie(Ljava/lang/String;Ljava/lang/String;)V

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    invoke-virtual {v2}, Landroid/webkit/CookieSyncManager;->sync()V

    return-void
.end method
